package edu.yctc.origin.controller.impl;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import edu.yctc.origin.constant.TemplatePath;
import edu.yctc.origin.controller.MetadataController;

/**
 * manageController实现
 * 
 * @author 赵宜珺
 *
 */
@Controller
@RequestMapping("/metadata")
public class MetadataControllerImpl implements MetadataController {

    @Override
    @GetMapping("book-list")
    public String showBookList() {
        return TemplatePath.METADATA_BOOK_LIST;
    }

    @Override
    @GetMapping("book-detail")
    public String showBookDetail() {
        return TemplatePath.METADATA_BOOK_DETAIL;
    }

    @Override
    @GetMapping("book-modify")
    public String showBookModify() {
        return TemplatePath.METADATA_BOOK_MODIFY;
    }

}
